<center>
	<h2>Member List</h2>
	<table>
		<tr>
			<th>Név</th>
			<th>Felhasználónév</th>
			{if $user_id neq NULL}<th>Csoport</th>{/if}
			<th>Email</th>
			<th>Iskola</th>
			<th>Évfolyam</th>
			<th>Regisztráció időpontja</th>
		</tr>
		{for $counter=0 ; $counter < $usercount ; $counter++}
			<tr>
				<td><center>{$users[$counter]['name']}</center></td>
				<td><center><a href="?q=user/show/{$users[$counter]['id']}">{$users[$counter]['username']}</a></center></td>
				{if $user_id neq NULL}<td><center>{if $users[$counter]['is_teacher'] eq '1'}Tanár{else}Tanuló{/if}</center></td>{/if}
				<td><center>{$users[$counter]['email']}</center></td>
				<td><center>{$users[$counter]['school']}</center></td>
				<td><center>{$users[$counter]['classyear']}</center></td>
				<td><center>{$users[$counter]['regtime']}</center></td>
			</tr>	
		{/for}
		
	</table>
</center>